package com.springsecirtytest.activiti1.mapper;

import com.springsecirtytest.activiti1.pojo.UserInfoBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface UserInfoBeanMapper {
    @Select("select *from user where username=#{username}")
    UserInfoBean selectByUserName(@Param("username") String userName);

}
